<!doctype html>
<html lang="zh-cn">
	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
		<meta name="viewport"
			content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
	</head>
	<style type="text/css">
		#slider label,
		#slider span {
			margin-top: 20px;
			height: 40px;
			margin-left: 20px;
			margin-right: 26px;
			text-align: right;
			color: #000000;
			border: none;
		}

		#dangqi {
			box-shadow: 1px 1px 2px 1px #999999;
			background-color: white;
		}
	</style>
	<body>
		<!-- 标题栏-start -->
		<header class="mui-bar mui-bar-nav"
			style="display: flex; align-items: center;background-color: red;border: none;box-shadow: none;">
			<img src="images/shouyeimg/title.jpg" style="border-radius: 50%;width: 32px;height: 32px;">
			<h1 class="" style="font-size: 16px;font-weight: 400;color: white;margin-left: 10px;">首页</h1>
			<img src="images/shouyeimg/xiangji.png" style=" width: 32px;height: 32px; margin-left: auto;">
		</header>
		<!-- 标题栏-end -->
		<!-- tab栏-start -->
		<nav class="mui-bar mui-bar-tab">
			<a class="mui-tab-item " onclick="tiaozhuan('jyxc.html')">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">建言献策</span>
			</a>
			<a class="mui-tab-item" onclick="tiaozhuan()">
				<div style="display: flex;flex-direction: column;align-items: center;padding-top: 4px;">
					<img src="images/shouyeimg/jiaona.png" width="20">
					<span class="mui-tab-label" style="font-size: 11px;">缴纳党费</span>
				</div>
			</a>
			<a class="mui-tab-item mui-active">
				<div style="display: flex;flex-direction: column;align-items: center;padding-top: 4px;">
					<img src="./images/shouyeimg/title.jpg" width="20">
					<span class="mui-tab-label" style="font-size: 11px;">首页</span>
				</div>
			</a>
			<a class="mui-tab-item" onclick="tiaozhuan()">
				<div style="display: flex;flex-direction: column;align-items: center;padding-top: 4px;">
					<img src="./images/shouyeimg/suishou.png" width="20">
					<span class="mui-tab-label" style="font-size: 11px;">随手拍</span>
				</div>
			</a>
			<a class="mui-tab-item" onclick="tiaozhuan()">
				<div style="display: flex;flex-direction: column;align-items: center;padding-top: 4px;">
					<img src="./images/shouyeimg/geren.png" width="20">
					<span class="mui-tab-label" style="font-size: 11px;">个人中心</span>
				</div>
			</a>
		</nav>
		<!-- tab栏-start -->
		<div class="mui-content" style="background-color: white;">
			<!-- 搜索框-start -->
			<div style="padding: 10px; background-color: red;">
				<div class="mui-input-row mui-search" style="">
					<input type="search" class="mui-input-clear" placeholder="" style="background-color: white;">
				</div>
			</div>
			<!-- 搜索框-end -->
			<!-- 轮播图-start -->
			<div style="padding: 20px;background-color: white;padding-bottom: 0;">
				<div id="slider" class="mui-slider">
					<div class="mui-slider-group mui-slider-loop">
						<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
						<div class="mui-slider-item mui-slider-item-duplicate">
							<a href="#">
								<img src="images/slider/slider3.png">
								<div style="display: flex;">
									<label style="flex: 6;height: 62px;">
										<p style="color: #000000;">习近平书记走进革命纪</p>
										<p style="text-align: right;margin-top: 15px;color: #000000;">纪念地</p>
									</label>
									<span style="flex: 4;">03 篇</span>
								</div>
							</a>

						</div>
						<!-- 第一张 -->
						<div class="mui-slider-item">
							<a href="#">
								<img src="images/slider/slider1.png">
								<div style="display: flex;">
									<label style="flex: 6;height: 62px;">
										<p style="color: #000000;">习近平书记走进革命纪</p>
										<p style="text-align: right;margin-top: 15px;color: #000000;">纪念地</p>
									</label>
									<span style="flex: 4;">01 篇</span>
								</div>
							</a>
						</div>
						<!-- 第二张 -->
						<div class="mui-slider-item">
							<a href="#">
								<img src="images/slider/slider2.png">
								<div style="display: flex;">
									<label style="flex: 6;height: 62px;">
										<p style="color: #000000;">习近平书记走进革命纪</p>
										<p style="text-align: right;margin-top: 15px;color: #000000;">纪念地</p>
									</label>
									<span style="flex: 4;">02 篇</span>
								</div>
							</a>
						</div>
						<!-- 第三张 -->
						<div class="mui-slider-item">
							<a href="#">
								<img src="images/slider/slider3.png">
								<div style="display: flex;">
									<label style="flex: 6;height: 62px;">
										<p style="color: #000000;">习近平书记走进革命纪</p>
										<p style="text-align: right;margin-top: 15px;color: #000000;">纪念地</p>
									</label>
									<span style="flex: 4;">03 篇</span>
								</div>
							</a>
						</div>
						<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
						<div class="mui-slider-item mui-slider-item-duplicate">
							<a href="#">
								<img src="images/slider/slider1.png">
								<div style="display: flex;">
									<label style="flex: 6;height: 62px;">
										<p style="color: #000000;">习近平书记走进革命纪</p>
										<p style="text-align: right;margin-top: 15px;color: #000000;">纪念地</p>
									</label>
									<span style="flex: 4;">01 篇</span>
								</div>
							</a>
						</div>
					</div>
					<div class="mui-slider-indicator">
						<div class="mui-indicator mui-active"></div>
						<div class="mui-indicator"></div>
						<div class="mui-indicator"></div>
					</div>
				</div>
			</div>
			<!-- 轮播图-end -->
			<!-- 党旗-start -->
			<div style="padding: 10px 10px;background-color: white;margin-top: 0;">
				<ul class="mui-table-view mui-grid-view mui-grid-9" id="dangqi">
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
						<a href="#">
							<img src="images/shouyeimg/dangqi.png" style="width: 50px;height: 50px;">
						</a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
						<a href="#">
							<img src="images/shouyeimg/dangzhang.png" style="width: 50px;height: 50px;">
						</a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
						<a href="#">
							<img src="images/shouyeimg/danghui.png" style="width: 50px;height: 50px;">
						</a>
					</li>
				</ul>
			</div>
			<!-- 党旗-end -->
			<!-- 热点新闻-start -->
			<div style="margin-left: 10px;margin-top: 10px;display: flex;">
				<div style="background-color: red;width: 5px;height: 20px;border-radius: 2px;"></div>
				<label class="mui-h5" style="font-weight: 700;color: #000000;margin-left: 7px;">热点新闻</label>
				<label style="font-size: 12px;display: flex;align-items: center;margin-left: auto;"
					id="news"><span>查看更多</span><img src="images/shouyeimg/right.png" width="20"
						style="margin-top: -2px;"></label>
			</div>
			<ul class="mui-table-view" id="new">
				<li class="mui-table-view-cell">
					<p style="color: #000000;">习近平主持十九届中共中央政治局第三十一次集体学习并发重要讲话</p>
					<p style="font-size: 12px;display: flex;margin-top: 0;margin-bottom: 0;">新华社<span
							style="margin-left: 10px;">2021-06-26</span></p>
				</li>
				<li class="mui-table-view-cell">
					<p style="color: #000000;">习近平主持十九届中共中央政治局第三十一次集体学习并发重要讲话</p>
					<p style="font-size: 12px;display: flex;margin-top: 0;margin-bottom: 0;">新华社<span
							style="margin-left: 10px;">2021-06-26</span></p>
				</li>
				<li class="mui-table-view-cell">
					<p style="color: #000000;">习近平主持十九届中共中央政治局第三十一次集体学习并发重要讲话</p>
					<p style="font-size: 12px;display: flex;margin-top: 0;margin-bottom: 0;">新华社<span
							style="margin-left: 10px;">2021-06-26</span></p>
				</li>
				<li class="mui-table-view-cell">
					<p style="color: #000000;">习近平主持十九届中共中央政治局第三十一次集体学习并发重要讲话</p>
					<p style="font-size: 12px;display: flex;margin-top: 0;margin-bottom: 0;">新华社<span
							style="margin-left: 10px;">2021-06-26</span></p>
				</li>
				<li class="mui-table-view-cell">
					<p style="color: #000000;">习近平主持十九届中共中央政治局第三十一次集体学习并发重要讲话</p>
					<p style="font-size: 12px;display: flex;margin-top: 0;margin-bottom: 0;">新华社<span
							style="margin-left: 10px;">2021-06-26</span></p>
				</li>
			</ul>
			<!-- 热点新闻-end -->
		</div>
		<script src="js/mui.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			mui.init()
			// <!-- 轮播图-start -->
			mui('#slider').slider({
				interval: 1000
			})
			query("#news").addEventListener("click", function() {
				for (let i = 1; i <= 5; i++) {
					let li = document.createElement("li")
					li.innerHTML =
						`<p style="color: #000000;">习近平主持十九届中共中央政治局第三十一次集体学习并发重要讲话</p>
							<p style="font-size: 12px;display: flex;margin-top: 0;margin-bottom: 0;">新华社<span style="margin-left: 10px;">2021-06-26</span></p>`
					li.classList.add("mui-table-view-cell")
					query("#new").append(li)
				}
			})
		</script>
	</body>
</html>
